<?php

/**
 * midia components.
 *
 * @package    sispatr
 * @subpackage midia
 * @author     Foxsis
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class midiaComponents extends sfComponentsFoxsis
{
	public function executeFiltro()
    {

    }

    public function executeArquivos()
    {
        $this->ref_name     = $this->getRequestParameter("ref_name");
        $this->ref_value    = $this->getRequestParameter("ref_value");
        $this->hasmany      = $this->getRequestParameter("hasmany");

        $id_name    = $this->ref_name;

        $this->reference    = $id_name;

        $this->midia  = MidiaTable::carregarMidia(array($id_name=>$this->ref_value));

    }

    public function executeNew()
    {
    }

    public function executeGaleria()
    {
    }
}